class Service::UserController < Service::ServiceController

  def add
    account_type = ACCOUNT_TYPE_BASIC
    email = params[:email]
    name = params[:name]
    twitter_user_id = params[:twitter_user_id]

    User.add(account_type, email, name, twitter_user_id)

    render :json => { :message => 'user created' }
  end

end
